<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>
<body>
    <div id="app">
        
    </div>
    <script>
        axios({
            url:"http://192.168.4.18:8000",
            methods:"get"
        }).then(res=>{
            var arr = res.data.result
            // console.log(arr);
            arr.forEach(item=>{
                var template=`
                        <img src=${item.pic} alt="">
                        <p>${item.title}</p>
                        <span>${item.raiting}</span>
                        <p>${item.slogo}</p>
                    `
                $("#app").append(template)
            })
        })
    </script>
</body>
</html>